<?php
namespace app\common\models;


use app\common\service\AdminLogin;

class SystemAuth extends BaseModel
{
    protected $auto = [];
    protected $insert = ['status' => 1, 'create_time'];
    protected $update = [];
    
    protected function setCreateByAttr(){
        $adminLogin = new AdminLogin();
        return $adminLogin->getUid();
    }
}